package com.blog.VO;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输板块的相关信息
 * @date 2023年5月25日
 */
public class PlateVO {
	private int plateId;//板块id

	private String plateName;//板块名字

	private String plateIconImg;//板块图标

	private int plateState;//板块状态

	private Date regDate;//创建时间
	
	private int allLikePostNum;//点赞帖子的总数
	
	private int allStarPostNum;//收藏帖子的总数

	public int getPlateId() {
		return plateId;
	}

	public void setPlateId(int plateId) {
		this.plateId = plateId;
	}

	public String getPlateName() {
		return plateName;
	}

	public void setPlateName(String plateName) {
		this.plateName = plateName;
	}

	public String getPlateIconImg() {
		return plateIconImg;
	}

	public void setPlateIconImg(String plateIconImg) {
		this.plateIconImg = plateIconImg;
	}

	public int getPlateState() {
		return plateState;
	}

	public void setPlateState(int plateState) {
		this.plateState = plateState;
	}

	public Date getRegDate() {
		return regDate;
	}

	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}

	public int getAllLikePostNum() {
		return allLikePostNum;
	}

	public void setAllLikePostNum(int allLikePostNum) {
		this.allLikePostNum = allLikePostNum;
	}

	public int getAllStarPostNum() {
		return allStarPostNum;
	}

	public void setAllStarPostNum(int allStarPostNum) {
		this.allStarPostNum = allStarPostNum;
	}

	@Override
	public String toString() {
		return "PlateVO [plateId=" + plateId + ", plateName=" + plateName + ", plateIconImg=" + plateIconImg
				+ ", plateState=" + plateState + ", regDate=" + regDate + ", allLikePostNum=" + allLikePostNum
				+ ", allStarPostNum=" + allStarPostNum + "]";
	}

	public PlateVO(int plateId, String plateName, String plateIconImg, int plateState, Date regDate, int allLikePostNum,
			int allStarPostNum) {
		super();
		this.plateId = plateId;
		this.plateName = plateName;
		this.plateIconImg = plateIconImg;
		this.plateState = plateState;
		this.regDate = regDate;
		this.allLikePostNum = allLikePostNum;
		this.allStarPostNum = allStarPostNum;
	}

	public PlateVO() {
		super();
	}
	
}
